package com.hua.nailcampus.acl.model.vo;

import com.hua.nailcampus.acl.model.UserSchool;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:chenjianhua
 * @Date:2023/12/30 0:49
 * @Version 17
 */
@Data
public class UserSchoolVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer userId;
    private String userName;
    private Integer schoolId;
    private String schoolName;
    private String studentId;
    private String realName;
    private boolean status;

    public  UserSchoolVo() {
    }
    public UserSchoolVo(UserSchool userSchool){
        this.userId = userSchool.getUserId();
        this.schoolId = userSchool.getSchoolId();
        this.studentId = userSchool.getStudentId();
        this.realName = userSchool.getRealName();
        this.status = userSchool.getStatus();
    }
}
